package cn.bdqn.pojo;

import lombok.Data;

import java.io.Serializable;
@Data
public class PlanBeans implements Serializable {
    private Plan plan;
    private Department department;
    private User user;
    private Project project;
    private Planstate planstate;
    private PlanAnnual planAnnual;
    private Audit audit;
    private PlanType planType;
    private Sitereviewphase sitereviewphase;
    private Type type;
    private Worklog worklog;
    private Checkitem checkitem;
    private StageProject stageProject;

    public PlanBeans() {
    }

    public PlanBeans(Checkitem checkitem) {
        this.checkitem = checkitem;
    }

    public PlanBeans(Worklog worklog) {
        this.worklog = worklog;
    }

    public PlanBeans(User user,Project project, Planstate planstate,Checkitem checkitem) {
        this.user = user;
        this.project = project;
        this.planstate = planstate;
        this.checkitem = checkitem;
    }
    public PlanBeans(User user,Project project, Planstate planstate,Checkitem checkitem,Audit audit) {
        this.user = user;
        this.project = project;
        this.planstate = planstate;
        this.checkitem = checkitem;
        this.audit = audit;
    }
    public PlanBeans(User user, Project project, Planstate planstate, Audit audit, Type type, StageProject stageProject) {
        this.user = user;
        this.project = project;
        this.planstate = planstate;
        this.audit = audit;
        this.type = type;
        this.stageProject = stageProject;
    }
    public PlanBeans(User user,Project project, Planstate planstate,Checkitem checkitem,Audit audit,Type type) {
        this.type=type;
        this.user = user;
        this.project = project;
        this.planstate = planstate;
        this.checkitem = checkitem;
        this.audit = audit;
    }

    public PlanBeans(Department department, Project project, Type type) {
        this.department = department;
        this.project = project;
        this.type = type;
    }

    public PlanBeans(Type type) {
        this.type = type;
    }

    public PlanBeans(Audit audit) {
        this.audit = audit;
    }

    public PlanBeans(User user) {
        this.user = user;
    }

    public PlanBeans(Project project) {
        this.project = project;
    }

    public PlanBeans(User user, Project project, Planstate planstate, Audit audit, Type type) {
        this.user = user;
        this.project = project;
        this.planstate = planstate;
        this.audit = audit;
        this.type = type;
    }

    public PlanBeans(Plan plan, Department department, User user, Project project, Audit audit, Type type) {
        this.plan = plan;
        this.department = department;
        this.user = user;
        this.project = project;
        this.audit = audit;
        this.type = type;
    }

    public PlanBeans(Plan plan, User user, Project project, Planstate planstate, PlanAnnual planAnnual, Audit audit, PlanType planType) {
        this.plan = plan;
        this.user = user;
        this.project = project;
        this.planstate = planstate;
        this.planAnnual = planAnnual;
        this.audit = audit;
        this.planType = planType;
    }

    public PlanBeans(PlanAnnual planAnnual) {
        this.planAnnual = planAnnual;
    }

    public PlanBeans(PlanType planType) {
        this.planType = planType;
    }

    public PlanBeans(Plan plan, Department department, User user, Project project, Planstate planstate, PlanAnnual planAnnual, Audit audit, PlanType planType) {
        this.plan = plan;
        this.department = department;
        this.user = user;
        this.project = project;
        this.planstate = planstate;
        this.planAnnual = planAnnual;
        this.audit = audit;
        this.planType = planType;
    }

    public PlanBeans(Plan plan, Department department, User user, Project project, Planstate planstate, PlanAnnual planAnnual, Audit audit) {
        this.plan = plan;
        this.department = department;
        this.user = user;
        this.project = project;
        this.planstate = planstate;
        this.planAnnual = planAnnual;
        this.audit = audit;
    }

    public PlanBeans(Plan plan, Department department, User user, Project project, Planstate planstate, PlanAnnual planAnnual) {
        this.plan = plan;
        this.department = department;
        this.user = user;
        this.project = project;
        this.planstate = planstate;
        this.planAnnual = planAnnual;
    }

    public PlanBeans(User user, Audit audit) {
        this.user = user;
        this.audit = audit;
    }

    public PlanBeans(Plan plan, Department department, User user, Project project, Planstate planstate) {
        this.plan = plan;
        this.department = department;
        this.user = user;
        this.project = project;
        this.planstate = planstate;
    }

    public PlanBeans(Plan plan, Department department) {
        this.plan = plan;
        this.department = department;
    }

    public PlanBeans(Plan plan, Department department, User user, Project project) {
        this.plan = plan;
        this.department = department;
        this.user = user;
        this.project = project;
    }

    public PlanBeans(Plan plan, User user) {
        this.plan = plan;
        this.user = user;
    }

    public PlanBeans(Plan plan){
        Department department = new Department();
        this.plan = plan;
        this.department = department;
    }
    public PlanBeans(Department department){
        Plan plan = new Plan();
        this.plan = plan;
        this.department = department;
    }
}
